package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"user_manage_sys/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/create", &controllers.UserController{}, "POST:Create;OPTIONS:Create")
	beego.Router("/login", &controllers.UserController{}, "POST:Login;OPTIONS:Login")
}
